package com.mls.education.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mls.common.annotation.Excel;
import com.mls.common.core.domain.BaseEntity;

/**
 * 课程课时信息对象 edu_course_lesson
 * 
 * @author admin
 * @date 2022-03-08
 */
public class EduCourseLesson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课时ID */
    private Integer id;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Integer courseId;

    /** 课时标题 */
    @Excel(name = "课时标题")
    private String title;

    /** 课时封面 */
    @Excel(name = "课时封面")
    private String cover;

    /** 课时视频 */
    @Excel(name = "课时视频")
    private String video;

    /** 课时附件 */
    @Excel(name = "课时附件")
    private String attachment;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 课时状态 */
    @Excel(name = "课时状态")
    private String status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCourseId(Integer courseId) 
    {
        this.courseId = courseId;
    }

    public Integer getCourseId() 
    {
        return courseId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setVideo(String video) 
    {
        this.video = video;
    }

    public String getVideo() 
    {
        return video;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("title", getTitle())
            .append("cover", getCover())
            .append("video", getVideo())
            .append("attachment", getAttachment())
            .append("userId", getUserId())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .toString();
    }
}
